$(function() {
    $.ajax({
        url: bignew.user_list,
        type: 'get',
        dataType: 'json',
        success: function(res) {
            console.log(res);
            $('.category').html(template('artrelease', res))
        }
    });
    jeDate("#testico", {
        // isinitVal: true,
        // festival: true,
        trigger: "click",
        format: ' YYYY-MM-DD hh:mm:ss ',
        isinitVal: true,
        theme: { bgcolor: "#D91600", pnColor: "#FF6653" },
    });
    tinymce.init({
        selector: '#mytextarea',
        language: 'zh_CN', // 语言zh_CN是指中文
        directionality: 'ltl', // 文字的方向
        browser_spellcheck: true, // 拼写语法检查
        contextmenu: false, // 是否支持右键菜单
        plugins: [ // 添加插件
            "advlist autolink lists link image charmap print preview anchor",
            "searchreplace visualblocks code fullscreen",
            "insertdatetime media table contextmenu paste imagetools wordcount",
            "code"
        ],
        // 下面是添加工具条
        toolbar: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image | code"
    });
})